{namespace v=FluidTYPO3\Vhs\ViewHelpers}

<f:comment>
<a class="fancybox fancybox.iframe" href="http://www.openstreetmap.org/export/embed.html?bbox=<v:math.subtract a="{image.longitude}" fail="1" b="0.005" />%2C<v:math.subtract a="{properties.latitude}" fail="1" b="0.005" />%2C<v:math.sum a="{properties.longitude}" fail="1" b="0.005" />%2C<v:math.sum a="{properties.latitude}" fail="1" b="0.005" />&amp;layer=cyclemap&amp;marker={properties.latitude}%2C{properties.longitude}">{properties.location_country}<f:if condition="{properties.location_city}">, {properties.location_city}</f:if><f:if condition="{properties.location_region}"> ({properties.location_region})</f:if> [<f:format.number decimalSeparator="." decimals="4">{properties.latitude}</f:format.number> ; <f:format.number decimalSeparator="." decimals="4">{properties.longitude}</f:format.number>]</a>
</f:comment>

<f:if condition="{properties.longitude}">
	<f:then>
		<a class="fancybox fancybox.iframe" href="http://www.openstreetmap.org/export/embed.html?bbox=<v:math.subtract a="{properties.longitude}" fail="1" b="0.4" />%2C<v:math.subtract a="{properties.latitude}" fail="1" b="0.4" />%2C<v:math.sum a="{properties.longitude}" fail="1" b="0.4" />%2C<v:math.sum a="{properties.latitude}" fail="1" b="0.4" />&amp;layer=mapnik&amp;marker={properties.latitude}%2C{properties.longitude}">{properties.location_country}<f:if condition="{properties.location_city}">, {properties.location_city}</f:if><f:if condition="{properties.location_region}"> ({properties.location_region})</f:if> [<f:format.number decimalSeparator="." decimals="4">{properties.latitude}</f:format.number> ; <f:format.number decimalSeparator="." decimals="4">{properties.longitude}</f:format.number>]</a>
	</f:then>
	<f:else>
		{properties.location_country}<f:if condition="{properties.location_city}">, {properties.location_city}</f:if><f:if condition="{properties.location_region}"> ({properties.location_region})</f:if>
	</f:else>
</f:if>